import request from '@/utils/request'

export function selectAll(data) {
  return request({
    url: 'roleMenu/all',
    method: 'post',
    data: data
  })
}

export function add(data) {
  return request({
    url: 'roleMenu/add',
    method: 'post',
    data: data
  })
}

export function del(data) {
  return request({
    url: 'roleMenu/delete',
    method: 'post',
    data: data
  })
}
